<?php
class DefenceViewModel extends ViewModel {
    public $viewFields = array(
        'defenselog'    => array('id', 'tid', 'defense_status', 'defense_details', 'modify_time', 'buyer_id', '_type' => 'left'),
        'user'          => array('nick', '_on' => 'user.user_id = defenselog.user_id')
    );

}
?>
